package com.example.springbootth.entity;

public class User {
   private String name;
   private String role;
   public User(String name, String role) {
      this.name = name;
      this.role = role;
   }

   public String getName() {
      return name;
   }

   public void setName(String name) {
      this.name = name;
   }

   public String getRole() {
      return role;
   }

   public void setRole(String role) {
      this.role = role;
   }

   @Override
   public String toString() {
      return "User{" +
              "name='" + name + '\'' +
              ", role='" + role + '\'' +
              '}';
   }
}
